package com.bw.a2207a.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.bw.a2207a.bean.BannerBean
import com.bw.a2207a.bean.LoginBean
import com.bw.a2207a.bean.SearchHistoryBean
import com.bw.a2207a.bean.StudentInfoBean

/**
 *
 * @ClassName: CartDb
 * @Description: room 数据库实例
 * @Author: zhangyanchao
 * @CreateDate: 2024/10/22 4:17 PM
 * @Version: 1.0
 */
@Database(
    entities = [LoginBean::class, BannerBean::class, StudentInfoBean::class, SearchHistoryBean::class],
    version = 4
)
abstract class CartDb : RoomDatabase() {
    abstract fun getUserDao(): UserDao
    abstract fun getStudentDao(): StudentDao
    abstract fun getSearchDao(): SearchDao

}